Preparation of bone graft with virtual bone-matching and GSIs